package com.api.shopapi.service;

import com.alibaba.fastjson.JSONObject;
import com.api.shopapi.entity.Nurse;
import com.api.shopapi.entity.NurseStaffRel;
import com.api.shopapi.entity.dto.NurseStaffRelDTO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface NurseStaffRelService {

    int insert(JSONObject jsonObject);

    int insert2(NurseStaffRel nurseStaffRel);

    NurseStaffRel getByNurseCodeAndNurseStaffCode(String nurseCode, String nurseStaffCode);

    List<NurseStaffRelDTO> getListByNurseCode(String nurseCode);

    NurseStaffRel getByStaffCode(String staffCode);

    int delByNurseCodeAndNurseStaffCode(String nurseCode, String nurseStaffCode);


    int delete(String nurseStaffRelCode);

}
